/*!
 * vinculum
 * Copyright(c) 2017 azzly
 * MIT Licensed
 */
 
'use strict';

/**
 * Module dependencies.
 * @private
 */
const CONST = require("./CONST");
const helper = require("./helper");

/**
 * Variables.
 * @private
 */

const admin_name = 'root';
const admin_pwd = '111111';

/**
 * prototype.
 */
 
let obj = exports = module.exports = {
	debug: true
  ,table_prefix: CONST.TABLE_PREFIX
  ,context: null
  ,actionContextWhiteList: []
  ,cookieName: "PLATSESSIONID"
  ,sessionCache: "local"
	,redisOptions: {
    port: 6379
    ,host: "127.0.0.1"
  }
  ,administrator: {
    name: admin_name
    ,password: helper.md5(admin_pwd)
		,id: helper.md5(admin_name + '_' + admin_pwd)
  }
  ,serverdb: {
    type: "mysql"
		,host: "127.0.0.1"
		,user: "root"
		,password: "test"
		,port: "3306"
		,database: "vinculumdb"
		,climit: 10
  }
};
